package com.wt.service.fallback;

import com.wt.Pojo.User;
import com.wt.service.UserService1;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class UserServiceFallBack implements UserService1 {
    @Override
    public String Add(User user) {
        return "add error";
    }

    @Override
    public String Del(Integer id) {
        return null;
    }

    @Override
    public String Update(User user) {
        return null;
    }

    @Override
    public String Get(String name, Integer age) {
        return null;
    }

    @Override
    public List<User> GetUser(User user) {
        return null;
    }
}
